﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RazorTs.TemplateAxios
{
    public class TemplateEnum
    {
        public static string Template = @"
                                                  @foreach (var item in Model){
                                                        <text>
                                                          @item.Describe ;
                                                          export enum @item.Name {
                                                             @foreach(var item2 in item.TsEnumFiled){
                                                                   <text>/**@item2.Describe*/
                                                                  @item2.EnumName = @item2.Value,</text>
                                                              }
                                                           
                                                        }</text>
                                                    }
";
        public static string TemplateTwo = @"
@foreach (var item in Model){
<text>@item.Describe</text>
<text>export enum @item.Name {</text>
    foreach(var item2 in item.TsEnumFiled){
  <text>/**@item2.Describe*/</text>
  <text>  @item2.EnumName = @item2.Value,;</text>
    }
<text>}</text>
}
";
    }
}
